<nav class="navbar navbar-expand-lg navbar-light">
  <div class="ml-auto pr-4" id="navbarSupportedContent">
    <ul class="navbar-nav">
      <li class="nav-item">
          <a target="_blank" routerLink="/" class="nav-link">Visit Site</a>
      </li>
      <li class="nav-item dropdown">
        <a class="user" href="javascript:void(0)" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          <img [src]="imageSrc" alt="{{userName}}">
          <span class="username">{{userName}}</span>
          <i class="fas fa-angle-down"></i>
        </a>
        <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
          <a class="dropdown-item" routerLink="/profile">
            <i class="fas fa-user"></i>Profile</a>
          <a class="dropdown-item" href="javascript:void(0)" (click)="logout()">
            <i class="fas fa-sign-out-alt"></i>Log Out</a>
        </div>
      </li>
    </ul>
  </div>
</nav>